package otherSAMS.model;

import java.util.Date;

public class CourseScore {
    private int studentNo;
    private String studentName;
    private String courseName;
    private int courseCode;
    private int credit;
    private int score;
    private Date scoreInputTime;

    public CourseScore(int studentNo, String studentName, String courseName,int courseCode, int credit, int score, Date scoreInputTime) {
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.courseName = courseName;
        this.courseCode=courseCode;
        this.credit = credit;
        this.score = score;
        this.scoreInputTime = scoreInputTime;
    }

    public int getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(int studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public int getCourseCode() {
        return courseCode;
    }

    public void setCourseCode(int courseCode) {
        this.courseCode = courseCode;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public Date getScoreInputTime() {
        return scoreInputTime;
    }

    public void setScoreInputTime(Date scoreInputTime) {
        this.scoreInputTime = scoreInputTime;
    }

    @Override
    public String toString() {
        return "CourseScore{" +
                "studentNo=" + studentNo +
                ", studentName='" + studentName + '\'' +
                ", courseName='" + courseName + '\'' +
                ", courseCode='" + courseName + '\'' +
                ", credit=" + credit +
                ", score=" + score +
                ", scoreInputTime=" + scoreInputTime +
                '}';
    }
}
